
<div class="row-fluid login-wrapper">
    <a class="brand" href="index.html"></a>

    <div class="span4 box">
        <div class="content-wrap">
            <h6> 后台管理</h6>

            <?php $form  = \yii\bootstrap\ActiveForm::begin(['fieldConfig'=>['template'=>'{input}{error}']]);?>
            <?=$form->field($model,'adminuser' )->textInput(['class'=>'span12','placeholder'=>'管理者账号']);?>
            <?=$form->field($model,'adminpass' )->passwordInput(['class'=>'span12','placeholder'=>'请输入密码']);?>

            <a href="<?=\yii\helpers\Url::to(['public/seekpass']);?>" class="forgot">忘记密码?</a>
            <?=$form->field($model,'rememberMe')->checkbox(
                [
                    'id'=>'remember-me',
                    'template'=>'<div class="remember">{input}<label for="remember-me">记住我</label></div>'
                ]
            );?>

            <?= \yii\helpers\Html::submitButton('登录',['class'=>'btn-glow primary login']);?>
            <?php \yii\bootstrap\ActiveForm::end();?>
        </div>
    </div>
</div>
